/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-09 09:38:46
 * @LastEditTime: 2019-08-09 14:28:23
 * @LastEditors: Please set LastEditors
 */
import React from 'react';
import { HashRouter as Router, Route, Switch, Redirect } from 'react-router-dom';
// import NotFound from './components/pages/NotFound';
// import Login from './components/pages/Login';
import App from './App';

export default () => (
    <Router>
        <Switch>
            {/* <Route exact path="/" />         */}
            <Route path="/app" component={App} />
            {/* <Route path="/404" component={NotFound} />
            <Route path="/login" component={Login} />
            <Route component={NotFound} /> */}
            <Redirect to="/app/home" push/>
        </Switch>
    </Router>
)